package com.butterfly.service;

import java.util.List;

import javax.inject.Inject;
import javax.inject.Named;

import org.springframework.transaction.annotation.Transactional;

import com.butterfly.domain.dao.MerchantDAO;
import com.butterfly.domain.entity.Merchant;

@Named
@Transactional(readOnly=true)
public class MerchantServiceImpl implements MerchantService {

	@Inject
	private MerchantDAO merchantDAO;
	
	@Override
	public List<Merchant> findBy(Merchant searchCriteria) {
		return merchantDAO.findBy(searchCriteria); 
	}

}
